<?php
/**
 * Created by 王跃达.
 * User: 小马出行
 * Date: 2017/8/24
 * Time: 16:17
 */

namespace app\api\logic;


use app\api\model\PersonModel;

use think\Model;

class PersonLogic extends Model
{


    public function __construct()
    {
        parent::__construct();

    }

    /**
     * 更新司机积分
     * @param string 
     * @param int 
     * @return int|boolean//成功时返回
     */
    public function updateDriverPoint($common_id,$service_rank){
        $personModel = new personModel();
        return $personModel ->updateDriverPoint($common_id,$service_rank);
    }


}